<?php
/**
 * weixin
 */

class indexAction
{
	private $_tpl;
	private $_logo='http://img01.taobaocdn.com/imgextra/i1/135326559/T2bfkbXnFaXXXXXXXX_!!135326559.png';

	public $route;

	public function __construct() {
		$this->_tpl = new TPL();
		$rt=Base::getRoute();
		$this->route='r=' . $rt['c'] . '/' . $rt['a'];
	}

    public function index() {
		$this->maxDiscount();
    }
	public function maxDiscount() { //特价
		
		$main_content='';
		$this->_tpl->render('index.html', array(
                'nav'=>'n1',
			)
		);
	}
    
    public function getGood(){
        $product=new productModel();
        
        $page=Base::getRequest('p');
        echo $product->getProduct($page);
    }
	



}

/* ------ EOF ------ */
